package com.open.capacity.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 试卷考题关系表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "exam_paper_question")
public class ExamPaperQuestion {
    /**
     * 试卷考题关系id
     */
    @TableId(value = "paquid", type = IdType.AUTO)
    private Integer paquid;

    /**
     * 试卷id
     */
    @TableField(value = "expaid")
    private Integer expaid;

    /**
     * 考题id
     */
    @TableField(value = "quesid")
    private Integer quesid;
    /**
     * 分数
     */
    private Integer score;
}